package fanshe;

public class TestMain {
	public static void main(String[] args) {
		System.out.println(XYZ.name);
	}
}
class XYZ{
	public static String name = "zhangsan";
	static {
		System.out.println("xyz静态块");
		
	}
	public XYZ(){
		System.out.println("xyz构造块");
	}
}
